package com.ficus.road.maintain.core.model.dingtalk.message;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiawen yang
 * @date 2022/2/21 下午5:44
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DingTalkOpenMessage {
    @JsonProperty("msgtype")
    private String msgType;
    @JsonProperty("text")
    private TextMessage text;
    @JsonProperty("image")
    private ImageMessage image;
    @JsonProperty("voice")
    private VoiceMessage voice;
    @JsonProperty("link")
    private LinkMessage link;
    @JsonProperty("oa")
    private OAMessage oa;
    @JsonProperty("markdown")
    private MarDownMessage markDown;
    @JsonProperty("action_card")
    private ActionCardMessage actionCard;
}
